﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>普陀区市民人文行走</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">

    <!-- Link Swiper's CSS -->
    <link rel="stylesheet" href="../asset/swiper/css/swiper.min.css">

    <style>
        html, body {
            position: relative;
            height: 100%;
        }

        body {
            background: #eee;
            font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
            font-size: 14px;
            color: #000;
            margin: 0;
            padding: 0;
        }

        .swiper-container {
            width: 100%;
            height: 100%;
        }

        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #000000;
            /* Center slide text vertically */
            display: -webkit-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            -webkit-justify-content: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            -webkit-align-items: center;
            align-items: center;
        }

        .swiper-pagination-bullet {
            opacity: 0.5;
            background-color: #ffffff;
        }

        .swiper-pagination-bullet-active {
            opacity: 1;
            background: #ffffff;
        }

        .slide {
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }

        .slide-01 {
            background-image: url('index.jpg');
        }

        .slide-02 {
            background-image: url('study.jpg');
        }

        .slide-03 {
            background-image: url('look.jpg');
        }

        .slide-04 {
            background-image: url('listen.jpg');
        }
    </style>
</head>
<body>
    <div class="swiper-container">
        <div class="swiper-wrapper">
            <div class="swiper-slide slide slide-01"></div>
            <div class="swiper-slide slide slide-02"></div>
            <div class="swiper-slide slide slide-03"></div>
            <div class="swiper-slide slide slide-04"></div>
        </div>
        <div class="swiper-pagination"></div>
    </div>
    <!-- Swiper JS -->
    <script src="../asset/swiper/js/swiper.min.js"></script>

    <!-- Initialize Swiper -->
    <script>
        var swiper = new Swiper('.swiper-container', {
            loop: true,

            pagination: {
                el: '.swiper-pagination'
            }
        });
    </script>
</body>
</html>